﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="DictionaryMaintenance.aspx.cs"
    Inherits="LabMS.Web.DictionaryMaintenance.DictionaryMaintenance" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>字典维护</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->
</head>
<body class="mainBody">
    <form id="uiForm" runat="server">
        <div class="main">
            <asp:Button ID="btnAdd" runat="server" Text="增加" CssClass="button" OnClick="btnAdd_Click" />
            <asp:Button ID="btnDel" runat="server" Text="删除" CssClass="button" OnClick="btnDel_Click" />
            <p>
                <span>关键字</span><asp:TextBox ID="tbSearch" runat="server"></asp:TextBox><asp:Button
                    ID="btnSearch" runat="server" Text="搜索" CssClass="button" OnClick="btnSearch_Click" /></p>
            <p>
                <asp:GridView ID="gvDictionary" runat="server" AutoGenerateColumns="false" DataKeyNames="ID"
                    CssClass="infoTable" Width="98%" OnRowDataBound="gvDictionary_RowDataBound" OnPageIndexChanging="gvDictionary_PageIndexChanging"
                    AllowPaging="true" PageSize="10">
                    <Columns>
                        <asp:TemplateField ItemStyle-Width="5%">
                            <ItemTemplate>
                                <asp:CheckBox ID="chk" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="ID" Visible="false" />
                        <asp:BoundField DataField="DClass" Visible="false" />
                        <%--<asp:HyperLinkField DataNavigateUrlFormatString="EditDictionary.aspx?ID={0}" NavigateUrl="EditDictionary.aspx"
                            DataNavigateUrlFields="ID" DataTextField="Code" />--%>
                        <asp:BoundField DataField="Code" />
                        <asp:BoundField DataField="Name" />
                    </Columns>
                    <EmptyDataTemplate>
                        暂时没有数据！
                    </EmptyDataTemplate>
                    <HeaderStyle CssClass="header" />
                    <PagerSettings FirstPageText="首页" LastPageText="最后页" NextPageText="后一页" PreviousPageText="前一页"
                        Mode="NextPreviousFirstLast" />
                </asp:GridView>
            </p>
        </div>
        <input type="hidden" id="tbTableName" runat="server" name="tbTableName" />
        <input type="hidden" id="tbTableDes1" runat="server" name="tbTableDes1" />
        <input type="hidden" id="tbTableDes2" runat="server" name="tbTableDes2" />
        <input type="hidden" id="tbDClass" runat="server" name="tbDClass" />
    </form>
</body>
</html>
